<?php

namespace App\Http\Controllers;

use App\Models\History;

class HistoryController extends Controller
{
    public function index()
    {
        $list = History::orderBy('id', 'desc')->get();

        return view('history.index', compact('list'));

    }
}
